package cn.hchaojie.camp.day05.oop;

public class Circle extends Shape {
	private double r;		// 半径

	public double getR() {
		return r;
	}

	public void setR(double r) {
		this.r = r;
	}

//	@Override	// 注解
	public double getArea() {
		return Math.PI * r * r;
	}
}
